Release 10.1A: OpenEdge Development:
.NET Open Clients
Connecting to the AppServer
To establish a connection to an AppServer using the .NET OpenAPI, you must instantiate a
Progress.Open4GL.Proxy.OpenAppObject. You can create anOpenAppObjectusing one of the following constructors:
connectObjSpecifies a
Progress.Open4GL.Proxy.Connectionobject, which defines connection parameters to access the AppServer. For more information on this object, Chapter 3, " Connecting to an AppServer."appserviceSpecifies the name of the application service.
urlSpecifies the URL to connect to an Appserver URL. Defaults to
Note: For an HTTPS connection using the AppServer Internet Adapter (AIA) with the Web server running on the .NET Open Client machine, you must specify the Internet host name (notAppServer://localhost:5162/appService. For more information on forming this URL, see the sections on connecting to the AppServer using a URL in OpenEdge Application Server: Developing AppServer Applications ."localhost") in the URL exactly as it appears in the CN field of the Web server certificate.useridSpecifies a user ID required to access the AppServer.
passwordSpecifies a password required to access the AppServer.
appserver-infoSpecifies information required by the application service at connection time.
You can set a number of session and run-time properties to manage access to an application service. For example, to access a session-free AppServer using the .NET OpenAPI, you must set the proxy property
PROGRESS.Session.SessionModelto 1. For more information on setting this and other session properties see Chapter 5, " Accessing Proxy Properties.".
|
Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |